package com.ruoyi.report.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报修单对象 t_rpt_order
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TRptOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报修编号(主键) */
    private String reportNo;

    /** 资产编号 */
    @Excel(name = "资产编号")
    private String assetNo;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 报修人ID */
    @Excel(name = "报修人ID")
    private Long reporterId;

    /** 班次 */
    @Excel(name = "班次")
    private String shiftName;

    /** 紧急程度编码 */
    @Excel(name = "紧急程度编码")
    private String urgencyCode;

    /** 报修类型编码 */
    @Excel(name = "报修类型编码")
    private String reportTypeCode;

    /** 故障类型编码 */
    @Excel(name = "故障类型编码")
    private String faultTypeCode;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String faultDesc;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 逻辑删除:0未删 1已删 */
    @Excel(name = "逻辑删除:0未删 1已删")
    private Integer isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

    public void setReportNo(String reportNo) 
    {
        this.reportNo = reportNo;
    }

    public String getReportNo() 
    {
        return reportNo;
    }

    public void setAssetNo(String assetNo) 
    {
        this.assetNo = assetNo;
    }

    public String getAssetNo() 
    {
        return assetNo;
    }

    public void setAssetName(String assetName) 
    {
        this.assetName = assetName;
    }

    public String getAssetName() 
    {
        return assetName;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setReporterId(Long reporterId) 
    {
        this.reporterId = reporterId;
    }

    public Long getReporterId() 
    {
        return reporterId;
    }

    public void setShiftName(String shiftName) 
    {
        this.shiftName = shiftName;
    }

    public String getShiftName() 
    {
        return shiftName;
    }

    public void setUrgencyCode(String urgencyCode) 
    {
        this.urgencyCode = urgencyCode;
    }

    public String getUrgencyCode() 
    {
        return urgencyCode;
    }

    public void setReportTypeCode(String reportTypeCode) 
    {
        this.reportTypeCode = reportTypeCode;
    }

    public String getReportTypeCode() 
    {
        return reportTypeCode;
    }

    public void setFaultTypeCode(String faultTypeCode) 
    {
        this.faultTypeCode = faultTypeCode;
    }

    public String getFaultTypeCode() 
    {
        return faultTypeCode;
    }

    public void setFaultDesc(String faultDesc) 
    {
        this.faultDesc = faultDesc;
    }

    public String getFaultDesc() 
    {
        return faultDesc;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportNo", getReportNo())
            .append("assetNo", getAssetNo())
            .append("assetName", getAssetName())
            .append("deptId", getDeptId())
            .append("reporterId", getReporterId())
            .append("shiftName", getShiftName())
            .append("urgencyCode", getUrgencyCode())
            .append("reportTypeCode", getReportTypeCode())
            .append("faultTypeCode", getFaultTypeCode())
            .append("faultDesc", getFaultDesc())
            .append("status", getStatus())
            .append("isDelete", getIsDelete())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
